package com.xd.core.bill.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 逾期退保列表分页查询返回vo
 * </p>
 *
 * @author ZCH
 * @since 2025/02/28/16:30
 */
@Data
@Accessors(chain = true)
public class OverduePolicyRefundVo {

    @ApiModelProperty(value = "退保信息id")
    private Integer id;

    @ApiModelProperty(value = "退保订单号")
    private Long uid;

    @ApiModelProperty(value = "借款订单编号")
    private String incomingOrder;

    @ApiModelProperty(value = "借款主体名称")
    private String borrowerSubjectName;

    @ApiModelProperty(value = "借款主体联系号码")
    private String borrowerSubjectPhone;

    @ApiModelProperty(value = "退保保单剩余应还本金(元)")
    private BigDecimal surrenderRemainPrincipal;

    @ApiModelProperty(value = "退保保单应还本月利息(元)")
    private BigDecimal surrenderCurrentInterest;

    @ApiModelProperty(value = "本次逾期天数")
    private Integer overdueDays;

    @ApiModelProperty(value = "本次逾期利息")
    private BigDecimal overdueInterest;

    @ApiModelProperty(value = "订单剩余本金")
    private BigDecimal orderAmount;

    @ApiModelProperty(value = "订单剩余利息")
    private BigDecimal orderInterest;

    @ApiModelProperty(value = "本次违约金")
    private BigDecimal penalty;

    @ApiModelProperty(value = "总计提前退保金额(元)")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "退保保单总现金价值")
    private BigDecimal surrenderGuaranteeTotalAmount;

    @ApiModelProperty(value = "申请退保日")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", shape = JsonFormat.Shape.STRING, timezone = "GMT+8")
    private Date applySurrenderDate;

    @ApiModelProperty(value = "渠道方公司名称")
    private String companyName;

    @ApiModelProperty(value = "是否上传退保凭证 0:否 1:是")
    private String isUploadVoucher;

    @ApiModelProperty(value = "其他费用")
    private BigDecimal otherFee;

    @ApiModelProperty(value = "减免金额")
    private BigDecimal reliefAmount;
}


